<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<%@ page import="com.yzyz.bean.route.RouteBean" %>
<%@ page import="com.yzyz.bean.scenic.ScenicBean" %>
<%@ page import="com.yzyz.bean.scenic.PictureBean" %>
<%@ page import="com.yzyz.bean.scenic.AttractionsBean" %>
<%@ page import="java.util.List" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	ScenicBean scenic = (ScenicBean)request.getAttribute("scenic");
	List<AttractionsBean> atts = scenic.getAttractions();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${requestScope.scenic.name }--四川省中国青年旅行社 欢行旅游网-------四川旅游 国内游 出境游 九寨沟 峨眉山 稻城亚丁 西藏 丽江 香格里拉</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/Common/css/header.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/Scenic/scenicInfo_2010_05_10.css" />
</head>
<body style="text-align:center;">
<!-- 主容器开始-->
<div class="divMainContainer">
	<jsp:include page="/Common/jsp/header.jsp"></jsp:include>
	<table align="center" width="920" style="padding: 0px;border:0px;margin:-2px 0px 0px 0px;">
		<tr>
			<!-- 景区介绍-->
			<td width="700" class="contents">
				<div class="divScenicTitle">
					<div style="padding-top:20px;">
						${requestScope.scenic.name}介绍
					</div>
				</div>
				<hr width="700" style="color:#f07f15;border-style:dotted;"/>
				<!-- 图片 开始-->
				<table width="700" border="0">
					<tr>
						<c:forEach var="picture" items="${pictures}" begin="0" end="4">
						<td height="50" width="150">
							<div class="divImgContainer">
								<a href="<%=request.getContextPath()%>/picture.htm?method=getPictures&scenicId=${requestScope.scenic.id}">
								<img height="90" border="0" width="120" src="<%=request.getContextPath()%>/picture.htm?method=getPicture&pictureId=${picture.id}">
								</a>
							</div>
							<div class="divImgName">
								<c:out value="${picture.name}"></c:out>
							</div>
						</td>
						</c:forEach>
					</tr>
				</table>
				<!-- 图片 结束-->
				<hr width="700" style="color:#f07f15;border-style:dotted;"/>
				<div class="divScenicInfo">
					${requestScope.scenic.description.contents}
				</div>
			</td>
			<td width="5">
			</td>
			
			<td width="214" class="relatedRoutes">
				<!-- 相关行程 开始-->
				<div>
					<div class="divTitle">
						热点旅游线路推荐
					</div>
				</div>
					<c:forEach var="route" items="${routes}">
						<div class="divRouteContent">
							<div class="divRouteName">
								<a href="<c:url value="/routeInfo.htm?method=getRoute&routeId="/>${route.id}&routeGroupId=${route.routeGroupId}" target="_blank">.${route.name}</a>
							</div>
							<div class="divRoutePrice">
								￥${route.price}
							</div>
						</div>
					</c:forEach>
				<!-- 相关行程 结束-->
			</td>
			
		</tr>
	</table>
	<jsp:include page="/Common/jsp/footer.jsp"></jsp:include>
</div>
<!-- 主容器结束-->

</body>
</html>